package com.sanpu.kxe.business.trade.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Description：收款渠道
 * Created by 薛勇军 on 2019/3/1.
 */

public class PayCollectionOutput implements Serializable {
    /** APP通道Id */
    private String appCnlConfId;
    /** 启用状态
     * ENABLE：启用
     * DISABLE：停用
     **/
    private String enableStatus;
    /** 停用原因 */
    private String disableReason;
    /** 交易开始时间 */
    private String tradeStartTime;
    /** 交易结束时间 */
    private String tradeEndTime;
    /** 最小交易金额 */
    private String minTradeAmount;
    /** 最大交易金额 */
    private String maxTradeAmount;
    /** 标题 */
    private String title;
    /** 显示图标
     * BALANCE ：余额
     * QUICK_PASS ：云闪付
     * UNIONPAY ：银联
     * ALIPAY ：支付宝
     * QQ： 腾讯QQ
     * WECHAT：微信
     * */
    private String showIcon;
    /** 接口类型 H5、API*/
    private String interfaceType;
    /** 结算类型 D0,T1*/
    private String settleType;
    /** 是否热门 N：否Y：是*/
    private String isHot;
    /** 是否需要照片 N：否Y：是*/
    private String isNeedPicture;
    /** 是否自选商户 N：否Y：是*/
    private String isOptionalMerc;
    /** 是否自选行业 */
    private String isOptionalMcc;
    /** 提示 */
    private String prompt;
    /** 业务类型 */
    private String businessType;
    /** 封顶金额 */
    private String capAmount;
    /** 手续费列表 */
    private List<RateDetail> rateDetails;
    /** 最小信用卡余额 */
    private String creditMinBalance;
    /** 余额与计划比例 */
    private String balancePercent;
    /** 绑卡ID 代还消费，没值，需要调用绑卡接口 */
    private String bindCardId;

    private boolean isChoose;

    public class RateDetail implements Serializable {

        /** 商户级别 */
        private String merchantLevel;
        /** 交易费率 */
        private String tradeRate;
        /** 附加费用 */
        private String extraCharge;
        /** 描述 */
        private String description;

        public String getMerchantLevel() {
            return merchantLevel;
        }

        public void setMerchantLevel(String merchantLevel) {
            this.merchantLevel = merchantLevel;
        }

        public String getTradeRate() {
            return tradeRate;
        }

        public void setTradeRate(String tradeRate) {
            this.tradeRate = tradeRate;
        }

        public String getExtraCharge() {
            return extraCharge;
        }

        public void setExtraCharge(String extraCharge) {
            this.extraCharge = extraCharge;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }
    }

    public String getAppCnlConfId() {
        return appCnlConfId;
    }

    public void setAppCnlConfId(String appCnlConfId) {
        this.appCnlConfId = appCnlConfId;
    }

    public String getEnableStatus() {
        return enableStatus;
    }

    public void setEnableStatus(String enableStatus) {
        this.enableStatus = enableStatus;
    }

    public String getDisableReason() {
        return disableReason;
    }

    public void setDisableReason(String disableReason) {
        this.disableReason = disableReason;
    }

    public String getTradeStartTime() {
        return tradeStartTime;
    }

    public void setTradeStartTime(String tradeStartTime) {
        this.tradeStartTime = tradeStartTime;
    }

    public String getTradeEndTime() {
        return tradeEndTime;
    }

    public void setTradeEndTime(String tradeEndTime) {
        this.tradeEndTime = tradeEndTime;
    }

    public String getMinTradeAmount() {
        return minTradeAmount;
    }

    public void setMinTradeAmount(String minTradeAmount) {
        this.minTradeAmount = minTradeAmount;
    }

    public String getMaxTradeAmount() {
        return maxTradeAmount;
    }

    public void setMaxTradeAmount(String maxTradeAmount) {
        this.maxTradeAmount = maxTradeAmount;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getShowIcon() {
        return showIcon;
    }

    public void setShowIcon(String showIcon) {
        this.showIcon = showIcon;
    }

    public String getInterfaceType() {
        return interfaceType;
    }

    public void setInterfaceType(String interfaceType) {
        this.interfaceType = interfaceType;
    }

    public String getSettleType() {
        return settleType;
    }

    public void setSettleType(String settleType) {
        this.settleType = settleType;
    }

    public String getIsHot() {
        return isHot;
    }

    public void setIsHot(String isHot) {
        this.isHot = isHot;
    }

    public boolean isHot() {
        return "Y".equals(isHot);
    }

    public String getIsNeedPicture() {
        return isNeedPicture;
    }

    public void setIsNeedPicture(String isNeedPicture) {
        this.isNeedPicture = isNeedPicture;
    }

    public boolean isNeedPicture() {
        return "Y".equals(isNeedPicture);
    }

    public String getIsOptionalMerc() {
        return isOptionalMerc;
    }

    public void setIsOptionalMerc(String isOptionalMerc) {
        this.isOptionalMerc = isOptionalMerc;
    }

    public boolean isOptionalMerc() {
        return "Y".equals(isOptionalMerc);
    }

    public String getIsOptionalMcc() {
        return isOptionalMcc;
    }

    public void setIsOptionalMcc(String isOptionalMcc) {
        this.isOptionalMcc = isOptionalMcc;
    }

    public boolean isOptionalMcc() {
        return "Y".equals(isOptionalMcc);
    }

    public String getPrompt() {
        return prompt;
    }

    public void setPrompt(String prompt) {
        this.prompt = prompt;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getCapAmount() {
        return capAmount;
    }

    public void setCapAmount(String capAmount) {
        this.capAmount = capAmount;
    }

    public List<RateDetail> getRateDetails() {
        return rateDetails;
    }

    public void setRateDetails(List<RateDetail> rateDetails) {
        this.rateDetails = rateDetails;
    }

    public String getCreditMinBalance() {
        return creditMinBalance;
    }

    public void setCreditMinBalance(String creditMinBalance) {
        this.creditMinBalance = creditMinBalance;
    }

    public String getBalancePercent() {
        return balancePercent;
    }

    public void setBalancePercent(String balancePercent) {
        this.balancePercent = balancePercent;
    }

    public String getBindCardId() {
        return bindCardId;
    }

    public void setBindCardId(String bindCardId) {
        this.bindCardId = bindCardId;
    }

    public boolean isChoose() {
        return isChoose;
    }

    public void setChoose(boolean choose) {
        isChoose = choose;
    }
}
